<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Iframe</title>
</head>
<body>

<form action="{{ url_for('api_page.Image') }}" method="post" class="target_input" target="upload_pic">

    <p id="names">用户名:<input name="username" type="text" class="target_name"></p>

</form>

<span class="target_img" style="color: blue">双击隐藏<img class="img" src="/static/img/1.jpg" ></span>

<iframe class="hide" name="upload_pic" ></iframe>

</body>
{# 加载jQuery #}
{% block js  %}
    <script src="/static/js/jquery-2.1.1.js"></script>
    <script src="/static/js/set.js"></script>
{% endblock %}



</html>